# Maintainer: Brad Fanella <cesura@archlinux.org>
# Contriburor: Balló György <ballogyor+arch at gmail dot com>

pkgname=mate-applet-dock
_pkgname=mate-dock-applet
pkgver=21.10.0
pkgrel=3
pkgdesc="Application dock for the MATE panel"
arch=('any')
url="https://github.com/robint99/dock-applet"
license=('GPL3')
depends=('bamf' 'libnotify' 'mate-panel' 'python-cairo' 'python-dbus' 'python-gobject'
         'python-pillow' 'python-xdg' 'python-xlib')
source=("$pkgname-$pkgver.tar.gz::https://github.com/robint99/$_pkgname/archive/$pkgver.tar.gz")
sha256sums=('42f06dcac13aae19a9bbd16272854c896044aa0301a69319cab86ef4ffd8b09c')

prepare() {
	cd $_pkgname-$pkgver
  	autoreconf -fi
}

build() {
  	cd $_pkgname-$pkgver
  	./configure --prefix=/usr --with-gtk3
  	make
}

package() {
  	cd $_pkgname-$pkgver
  	make DESTDIR="$pkgdir" install
}
